package com.zzyx.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Hospital entity. @author MyEclipse Persistence Tools
 */

public class Hospital implements java.io.Serializable {

	// Fields

	private int id;
	private Syscode syscode;
	private String name;
	private String quality;
	private String leve;
	private String address;
	private String telephone;
	private String weburl;
	private String image;
	private String introduce;
	private String busline;
	private String regtime;
	private int yuyue=0;
	private int jiuzhen=0;
	private int ordernum=0;
	private int fhcount=0;
	private int wycount=0;
	private int flag=0;
	
	
	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public int getWycount() {
		return wycount;
	}

	public void setWycount(int wycount) {
		this.wycount = wycount;
	}

	public int getFhcount() {
		return fhcount;
	}

	public void setFhcount(int fhcount) {
		this.fhcount = fhcount;
	}

	private Set admins = new HashSet(0);
	private Set keshis = new HashSet(0);

	// Constructors

	/** default constructor */
	public Hospital() {
	}

	/** full constructor */
	public Hospital(Syscode syscode, String name, String quality, String leve,
			String address, String telephone, String weburl, String image,
			String introduce, String busline, String regtime, int yuyue,
			int jiuzhen, Set admins, Set keshis) {
		this.syscode = syscode;
		this.name = name;
		this.quality = quality;
		this.leve = leve;
		this.address = address;
		this.telephone = telephone;
		this.weburl = weburl;
		this.image = image;
		this.introduce = introduce;
		this.busline = busline;
		this.regtime = regtime;
		this.yuyue = yuyue;
		this.jiuzhen = jiuzhen;
		this.admins = admins;
		this.keshis = keshis;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Syscode getSyscode() {
		return this.syscode;
	}

	public void setSyscode(Syscode syscode) {
		this.syscode = syscode;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getQuality() {
		return this.quality;
	}

	public void setQuality(String quality) {
		this.quality = quality;
	}

	public String getLeve() {
		return this.leve;
	}

	public void setLeve(String leve) {
		this.leve = leve;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getWeburl() {
		return this.weburl;
	}

	public void setWeburl(String weburl) {
		this.weburl = weburl;
	}

	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getIntroduce() {
		return this.introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public String getBusline() {
		return this.busline;
	}

	public void setBusline(String busline) {
		this.busline = busline;
	}

	public String getRegtime() {
		return this.regtime;
	}

	public void setRegtime(String regtime) {
		this.regtime = regtime;
	}

	public int getYuyue() {
		return this.yuyue;
	}

	public void setYuyue(int yuyue) {
		this.yuyue = yuyue;
	}

	public int getJiuzhen() {
		return this.jiuzhen;
	}

	public void setJiuzhen(int jiuzhen) {
		this.jiuzhen = jiuzhen;
	}

	public Set getAdmins() {
		return this.admins;
	}

	public void setAdmins(Set admins) {
		this.admins = admins;
	}

	public Set getKeshis() {
		return this.keshis;
	}

	public void setKeshis(Set keshis) {
		this.keshis = keshis;
	}

	public int getOrdernum() {
		return ordernum;
	}

	public void setOrdernum(int ordernum) {
		this.ordernum = ordernum;
	}

}